import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/view/login/login'
import Appointment from '@/view/appointment/appointment'
import Offices from '@/view/offices/index'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
       path: '/', 
       name: 'Login',
       component: Login

    },
    { 
      path: '/appointment', 
      name: 'Appointment',
      component: Appointment

    },
    { 
      path: '/offices', 
      name: 'Offices',
      component: Offices
    }
  ]
})
